package com.hxkj.mutual;

import com.duijiekeji.openapi.core.mutual.RequestContent;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * 补单
 *
 *
 */
public class RechargeSupplementContent extends RequestContent {

	private static final long serialVersionUID = -839873789876078876L;

	/** 商户原始订单号 */
	@NotNull
	private String oldOrderNo;

	/** 原始金额，单位：元 */
	@NotNull
	private String oldAmount;

	/** 补账金额，单位：元 */
	@NotNull
	private String amount;
	/** 姓名 */
	@NotNull
	@Length(min = 1, max = 20)
	private String name;

	/** 银行卡号 */
	@NotNull
	@Length(min = 1, max = 30)
	private String cardNo;

	/**
	 * @return the oldOrderNo
	 */
	public String getOldOrderNo() {
		return oldOrderNo;
	}

	/**
	 * @param oldOrderNo
	 *            the oldOrderNo to set
	 */
	public void setOldOrderNo(String oldOrderNo) {
		this.oldOrderNo = oldOrderNo;
	}

	/**
	 * @return the oldAmount
	 */
	public String getOldAmount() {
		return oldAmount;
	}

	/**
	 * @param oldAmount
	 *            the oldAmount to set
	 */
	public void setOldAmount(String oldAmount) {
		this.oldAmount = oldAmount;
	}

	/**
	 * @return the amount
	 */
	public String getAmount() {
		return amount;
	}

	/**
	 * @param amount
	 *            the amount to set
	 */
	public void setAmount(String amount) {
		this.amount = amount;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the cardNo
	 */
	public String getCardNo() {
		return cardNo;
	}

	/**
	 * @param cardNo
	 *            the cardNo to set
	 */
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

}
